<template>
  <div class="error-content">
    <h1>404</h1>
    <h3>糟糕！您访问的页面不存在！</h3>
    <h5>请检查您输入的网址是否正确，或单击下面的按钮返回主页。</h5>
    <p>
      <nuxt-link class="back" to="/">返回首页</nuxt-link>
    </p>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {},
}
</script>

<style lang="scss" scope>
.error-content {
  text-align: center;
  width: 100%;
  font-family: 'fontNumber';
  padding: 120px 0;
  h1 {
    font-size: 100px;
    line-height: 72px;
    margin-top: 55px;
    margin-bottom: 29px;
  }
  h3 {
    line-height: 20px;
    margin-bottom: 15px;
    font-size: 20px;
  }
  h5 {
    line-height: 15px;
    margin-bottom: 40px;
    color: #666666;
    font-size: 16px;
    font-weight: normal;
  }
  a.back {
    display: block;
    margin: 0 auto;
    width: 180px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    background-color: #f83600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0px 5px 30px 0px rgba(248, 54, 0, 0.1);
  }
}
@media screen and (max-width: 820px) {
  .error-content {
    box-sizing: border-box;
    padding: 40px 20px;
    img {
      width: 60%;
    }
    h1 {
      font-size: 36px;
      margin-top: 10px;
      margin-bottom: 0;
    }
    h3 {
      font-size: 18px;
    }
    h5 {
      line-height: 24px;
      font-size: 14px;
      margin-bottom: 20px;
    }
    a.back {
      width: 100px;
      height: 36px;
      line-height: 36px;
      font-size: 12px;
    }
  }
}
</style>
